﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Clover.Auth.Permission
{
    public class RolePermissionProvider : IPermissionProvider
    {
        public static RolePermissionProvider _instance { get; set; }

        public static RolePermissionProvider Default {
            get => _instance ?? new RolePermissionProvider();
            set => _instance = value;
        }

        public RolePermissionContext Context { get; set; }
        public  IEnumerable<IPermission> GetPermissions()
        {
            return Enumerable.Empty<IPermission>();
        }

    }
}
